import request from '@/utils/request'

// 查询菜单列表
export function menuTreeList(query) {
  return request({
    url: '/sys/menu/enableList',
    method: 'get',
    params: Object.assign({}, query, {useSelectAll: true})
  })
}

// 查询菜单下拉树结构
export function menuTreeSelect(query) {
  return request({
    url: '/sys/menu/enableList',
    method: 'get',
    params: Object.assign({}, query, {useSelectAll: false})
  })
}

